package com.highspeed.bdk.controller.command;

import com.highspeed.bdk.bean.entity.command.UserCommonCommand;
import com.highspeed.bdk.controller.base.BdkCrudController;
import com.highspeed.bdk.service.base.IBdkBaseService;
import com.highspeed.bdk.service.command.IUserCommonCommandService;
import io.swagger.annotations.Api;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping(value = "user_common_command", method = RequestMethod.POST)
@Api(tags = "用户常用命令")
public class UserCommonCommandController extends BdkCrudController<UserCommonCommand, Integer> {
    @Autowired
    private IUserCommonCommandService userCommonCommandService;

    @Override
    protected IBdkBaseService<UserCommonCommand, Integer> getService() {
        return userCommonCommandService;
    }
}
